package com.dhcc.bpm.modules.content.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * @ClassName HomePage
 * @Description  HomePage实体类
 * @Author lijiacheng
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */

@Data
@TableName("opc_home_page")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "HomePage对象", description = "门户首页")
public class HomePage extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 门户首页名称
	*/
		@ApiModelProperty(value = "门户首页名称")
		private String pageName;
	/**
	* 门户首页编号
	*/
		@ApiModelProperty(value = "门户首页编号")
		private String pageCode;
	/**
	* 文档编号
	*/
		@ApiModelProperty(value = "文档编号")
		private String docCode;
	/**
	* 图片附件
	*/
		@ApiModelProperty(value = "图片附件")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long busId;
	/**
	* 描述
	*/
		@ApiModelProperty(value = "描述")
		@TableField(value = "`describe`")
		private String describe;

		/**
		 * 是否显示描述
		 */
		@ApiModelProperty(value = "是否显示描述")
		private String showChar;

		/**
		 * 字体颜色
		 */
		@ApiModelProperty(value = "字体颜色")
		private String fontColor;

}
